﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.Domain;

namespace OFB.BLL.Repository
{
    public interface ICourseRepositoryBLL
    {
        ICollection<Course> FindAll();
        Course Find(int CourseId);
        Course Find(string courseName);
        Course Find(int courseId, string courseName);
        Course CheckFbTemplate(int fbTemplateId);
        Course CheckTraineeInCourse(int courseId);
        ICollection<Course> FindCourse(string courseName, DateTime fromDate, DateTime toDate, string status, int offset, int maxitem, out int count);
        int CreateCourse(string courseName, DateTime startDate, DateTime finishDate, int fbTemplateId);
        int UpdateCourse(int courseID, string courseName, DateTime startDate, DateTime finishDate);
        void EnableCourse(int courseId);
        void DisableCourse(int courseId);
       
    }
}
